//
//  ActivityIndicatorViewController.swift
//  UI
//
//  Created by admin on 14/9/22.
//  Copyright (c) 2014年 sinosun. All rights reserved.
//

/*
enum UIActivityIndicatorViewStyle : Int {
case WhiteLarge
case White
case Gray
}

@availability(iOS, introduced=2.0)
class UIActivityIndicatorView : UIView, NSCoding {

init(activityIndicatorStyle style: UIActivityIndicatorViewStyle) // sizes the view according to the style

var activityIndicatorViewStyle: UIActivityIndicatorViewStyle // default is UIActivityIndicatorViewStyleWhite
var hidesWhenStopped: Bool // default is YES. calls -setHidden when animating gets set to NO

@availability(iOS, introduced=5.0)
var color: UIColor!

func startAnimating()
func stopAnimating()
func isAnimating() -> Bool
}

*/
import UIKit

class ActivityIndicatorViewController: UIViewController {

    @IBOutlet var activityIndicator: UIActivityIndicatorView!
    
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        self.activityIndicator.startAnimating()
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue!, sender: AnyObject!) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
